# !/usr/bin/env python
"""
    app
    ~~~~~~~

    :Author: swq
    :Date: 2021/07/04 14:31 
"""
from api.endpoints.project import blueprint_project
from api.endpoints.blueprint_y import blueprint_y
from api.endpoints.blueprint_x import blueprint_x
from api.endpoints.routes import api as blueprint_routes
from api import app

app.register_blueprint(blueprint_project, url_prefix="/api/v1/")
app.register_blueprint(blueprint_x, url_prefix="/api/v1/")
app.register_blueprint(blueprint_y, url_prefix="/api/v1/")
app.register_blueprint(blueprint_routes, url_prefix="/api/v1/")

if __name__ == "__main__":
    app.run(host='0.0.0.0', debug=True)
